D. All of the above
Q91: What would be the issue with the following code?
// SPDX-License-Identifier: SOME IDENTIFIER
pragma solidity ^0.8.10;
interface SomeInterface1 {
function someFunction() external pure returns(string
memory);
}
interface SomeInterface2 {
function someFunction() external pure returns(string
memory);
}
contract ImplementorContract is SomeInterface1,
SomeInterface2 {
function someFunction() public override pure returns(string
memory) {
return “some message”;
}
}
A. No issue at all. It would get compiled and would run to give
“some message” in response
B. It would throw a compilation error as ImplementorContract
can’t implement two interfaces at a time
C. It would throw a compilation error as both interfaces have a
function of the same name and ImplementorContract can’t take
a decision on which one to implement
D. None of these
Q92: What would be the issue with the following code?
// SPDX-License-Identifier: SOME IDENTIFIER
pragma solidity ^0.8.10;